| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Static Public Member Functions | List of all members
nkAstraeus::nkGraphicsWrap::TextureSaverWrapper Class Referencefinal

Wraps the nkGraphics::TextureSaver and offers functions for use in scripting. More...

## Static Public Member Functions
static void | updateEnvironment (nkScripts::Environment *env)
static nkScripts::OutputValue | saveToHdr (const nkScripts::DataStack &stack)

## Detailed Description

Wraps the nkGraphics::TextureSaver and offers functions for use in scripting.

## Member Function Documentation

## ◆ updateEnvironment()

static void nkAstraeus::nkGraphicsWrap::TextureSaverWrapper::updateEnvironment | ( | nkScripts::Environment * | env | ) |
| static

Updates a given environment and set it up to use all functions wrapped by this wrapper.

Parameters

  env | The environment to set up.

## ◆ saveToHdr()

static nkScripts::OutputValue nkAstraeus::nkGraphicsWrap::TextureSaverWrapper::saveToHdr | ( | const nkScripts::DataStack & | stack | ) |
| static

Wrapper function for nkGraphics::TextureSaver::saveToHdr().

nkGraphics.TextureSaver.saveToHdr(sourceTex, "path") ;

Parameters

  stack | The parameter stack.

Returns
  The output value, empty.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsAstraeus/Scripts/nkGraphicsWrap/Textures/TextureSaverWrapper.h